home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.1 (User) / OpenStep 4.1 (User).iso / usr / template / client / etc / ppp / Examples / pppup.annex < prev    next >
Encoding:
Text File  |  1995-11-06  |  731 b   |  22 lines

  1. #!/bin/sh -f
  2. # -*- Fundamental -*-
  3. #
  4. # kdebug 1  is SC_DEBUG
  5. #        2  is SC_LOG_INPKT
  6. #        4  is SC_LOG_OUTPKT
  7. #        8  is SC_LOG_RAWIN
  8. #        16 is SC_LOG_FLUSH
  9. # add together to get debugging you want
  10. # Remember: for HW flow control you must you /dev/cufa or /dev/cufb
  11. #
  12. #
  13. #  This is an example that dials a modem, logs into a remote Annex terminal
  14. #  server and starts ppp. 
  15. #
  16. exec /usr/etc/pppd bsdcomp 10,10 mtu 296 lcp-echo-interval 15 \
  17. lcp-echo-failure 3 debug crtscts kdebug 17 defaultroute modem -pap -chap \
  18. connect '/usr/bin/chat -v ABORT BUSY ABORT "NO CARRIER" ABORT "NO DIAL TONE" ABORT "ERROR" "" ATZ0 "OK" ATDT####### CONNECT "" MSUnet: ppp sername: USER assword: PASS PPP.' \
  19. /dev/cufa 57600 lock
  20.  
  21.